package com.hantang.web.servlet;

import java.io.PrintWriter;

import javax.servlet.http.HttpServletRequest;

import com.hantang.web.json.handlers.DeleteArticleHandler;

public class DeleteArticleServlet extends BaseServlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = 159032854415924036L;

	@Override
	public int doService(HttpServletRequest request, PrintWriter out) {
		
		String sid = request.getParameter("id");
		
		String sret = DeleteArticleHandler.handleServlet(sid);
		out.print(sret);
		
		return SERVLET_SUCCESS_CODE;
	}

}
